<?php
$strUrlBack = isset($_SESSION[SESSION_BACKURL]) ? $_SESSION[SESSION_BACKURL] : HOST_BACKEND; 
if(!isset($AppUI->id)||
!isset($_SESSION['user'])||
(isset($_SESSION['user'])&&($_SESSION['user']&1<<2)==0)
) {
	redirect($strUrlBack);
}
$this->load->model('user_model', 'user');
$intUserId	= $this->input->get('userid', 0);
$row        = $this->user->get($intUserId);
$this->smarty->assign('row', $row);
$this->smarty->assign('back', $strUrlBack);
$this->smarty->display('user/change-password.tpl');
	